]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
dateMenu: Do not ellipsize clock
authorMOZGIII <mike-n@narod.ru>
Mon, 22 Jun 2020 12:41:58 +0000 (15:41 +0300)
committerFlorian Müllner <florian.muellner@gmail.com>
Tue, 23 Jun 2020 16:14:24 +0000 (16:14 +0000)
This addresses the issue with ellipsized clock that occurs when using
extensions that move the clock from the middle to the side of the top
bar.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1327

Signed-off-by: MOZGIII <mike-n@narod.ru>
js/ui/dateMenu.js

index ce0a1f6173d253ecee133def3fd8c41cfb7e6f3f..13d1d4019dc7ac9c00b19f214aa862083f3382b0 100644 (file)
@@ -784,6 +784,7 @@ class DateMenuButton extends PanelMenu.Button {
 
         this._clockDisplay = new St.Label({ style_class: 'clock' });
         this._clockDisplay.clutter_text.y_align = Clutter.ActorAlign.CENTER;
+        this._clockDisplay.clutter_text.ellipsize = Pango.EllipsizeMode.NONE;
 
         this._indicator = new MessagesIndicator();